﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace DBO_ShopMob
{
    /// <summary>
    ///
    /// </summary>
    [DataContract]
    public class Magasin
    {
        #region "properties"
        private string _idMagasin;
        [DataMember]
        public string idMagasin
        {
            get { return _idMagasin; }
            set { _idMagasin = value; }
        }

        private string _adresse;
        [DataMember]
        public string adresse
        {
            get { return _adresse; }
            set { _adresse = value; }
        }

        private string _cp;
        [DataMember]
        public string cp
        {
            get { return _cp; }
            set { _cp = value; }
        }

        private string _ville;
        [DataMember]
        public string ville
        {
            get { return _ville; }
            set { _ville = value; }
        }

        private Dictionary<long, int> _stock = new Dictionary<long, int>();
        [DataMember]
        public Dictionary<long, int> stock
        {
            get { return _stock; }
            set { _stock = value; }
        }

        private double _distance;
        [DataMember]
        public double distance
        {
            get { return _distance; }
            set { _distance = value; }
        }
        #endregion
    }
}
